package com.jiyun.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jiyun.model.Train;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

/* *
 * @Author nxj
 * @Date 2023 08 2023/8/14 15 47
 * */
@Data
@ToString
public class TrainVo extends Train {
//    private String cname;
//    private String qname;
//    private String lname;
      @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
      private Date tstarttime;
      @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
      private Date tendtime;
      private Integer tnum;
      private Integer cnum;
      private String lname;
}
